package com.cizzy.comment.feign;

import com.cizzy.comment.common.Result;
import com.cizzy.comment.entity.dao.VideoCountDAO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author 51755
 */
@FeignClient("video-server-service")
public interface VideoFeign {

    @PostMapping("/videoCount/addVideoCountById")
    Result<VideoCountDAO> addVideoCountById(@RequestParam("column") String column, @RequestParam("id") Long id, @RequestParam("count") Integer count);
}
